<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
		<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
		<link rel="stylesheet" href="/css/font.css">
		<link rel="stylesheet" href="/css/xadmin.css">
	</head>

	<body>
		<div class="x-body" id="app">
			<a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" href="javascript:location.replace(location.href);"
			 title="刷新"><i class="layui-icon" style="line-height:30px">ဂ</i></a>
			<span class="x-right" style="line-height:40px;float:left" th:text="'共有数据：' + ${listStuCourse.size()} + '条'"></span>
			<table class="layui-table">
				<thead>
					<tr>
						<th>课程代码</th>
                        <th>课程名称</th>
                        <th width="80">课程性质</th>
                        <th width="80">上课星期</th>
                        <th width="80">上课时间</th>
                        <th width="80">上课周期</th>
                        <th>授课教室</th>
                        <th>授课教师</th>
				</thead>
				<tbody>
					<tr th:each=" stuCourse : ${listStuCourse} ">
						<td th:text="${ stuCourse.courseNo }"></td>
                        <td th:text="${ stuCourse.courseName }"></td>
                        <td th:if="${ stuCourse.courseType } == 1" >必修</td>
                        <td th:if="${ stuCourse.courseType } == 2" >专业选修</td>
                        <td th:text="${stuCourse.startDay}"></td>
                        <td th:text="${ stuCourse.startTime }"></td>
                        <td th:text="${ stuCourse.stuNo }"></td>
                        <td th:text="${ stuCourse.roomName }"></td>
                        <td th:text="${ stuCourse.teacherName }"></td>
					</tr>
				</tbody>
			</table>
		</div>
        <script type="text/javascript" src="/js/xadmin.js"></script>
        <script type="text/javascript" src="/lib/layui/layui.js" charset="utf-8"></script>
        <script type="text/javascript" src="/js/jquery.form.js"></script>
	</body>

</html>
